package com.patent.dao;

import com.patent.domain.po.MonitorPatent;
import com.patent.domain.po.Patent;
import com.patent.domain.vo.IndexInfoVo;
import com.patent.domain.vo.PatentCountVo;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Repository
public interface MonitorPatentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MonitorPatent record);

    int insertSelective(MonitorPatent record);

    MonitorPatent selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MonitorPatent record);

    int updateByPrimaryKey(MonitorPatent record);

	IndexInfoVo queryIndexPatentCount(Map<String, Object> map);

	void addMonitorPatentList(List<MonitorPatent> monitorPatentList);

	List<PatentCountVo> queryMonitorPatentCount(Map<String,Object> map);

	List<Patent> queryMonitorPatentInfo(Map<String, Object> map);

	int selectByPatentId(Integer patentId);

	Integer selectCountByUserMobile(String userMobile);

	List<MonitorPatent> selectByMap(HashMap<String, Object> map);

	List<String> queryAllMobile();
}